﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.Entity.Orders
{
    /// <summary>
    /// 订单进度
    /// </summary>
    [SugarTable("t_order_trace")]
    public class OrderTrace
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int trace_id { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public int order_id { get; set; }
        /// <summary>
        /// 状态: 10 已取消, 20 待付款, 30 已付款, 31 已发货, 32 已收货, 40 申请退款,41 申请退款退货 ,50 同意退款, 51 拒绝退款, 70 已完成
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 进度描述
        /// </summary>
        public string describe { get; set; }=string.Empty;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
    }
}